home *** CD-ROM | disk | FTP | other *** search
/ Palm Utilities / Palm_Utilities_CD-ROM_2001_2001.iso / files / utils sync / bSync 0.2 / bsync.exe / Makefile next >
Encoding:
Makefile  |  1999-06-27  |  573 b   |  37 lines

  1.  
  2. OBJS=sync.o
  3. PRGM=sync
  4. PRC=sync.prc
  5. RCP=sync.rcp
  6. ICONTEXT = "bSync"
  7. APPID = bSNC
  8. CFLAGS = -O2 -Wall
  9.  
  10. CC = m68k-palmos-coff-gcc
  11. OBJRES = m68k-palmos-coff-obj-res
  12. BUILDPRC = build-prc
  13. PILRC = pilrc
  14.  
  15.  
  16. all: $(PRC)
  17.  
  18. .o:
  19.     $(CC) $(TARGETFLAGS) -c $<
  20.  
  21. sync: $(OBJS)
  22.     $(CC) $(CFLAGS) $(OBJS) -o $@
  23.  
  24. code.stamp: $(PRGM)
  25.     $(OBJRES) $(PRGM)
  26.     touch code.stamp
  27.  
  28. bin.stamp: $(RCP)
  29.     $(PILRC) $(RCP)
  30.     touch bin.stamp
  31.  
  32. $(PRC): code.stamp bin.stamp
  33.     $(BUILDPRC) $@ $(ICONTEXT) $(APPID) *.grc *.bin
  34.  
  35. clean:
  36.     rm -rf *.[oa] $(PRGM) *.bin *.stamp *.grc $(PRC)
  37.